<%-- 
    Document   : login
    Created on : 2014/2/13, 上午 09:29:08
    Author     : Gjun
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <style>
            .new_loginbutton{
                font-size:1em;
                cursor:pointer;
                border:1px outset #ccc;
                color:#000;
                font-weight:normal;
                margin:2px 0;}
            
            #loginbox{
                width:250px;
                text-align:left;
                padding:0 4px;
                margin:8% 0 0 20%;}
           
        </style>
    </head>
    <body>        
        <div >
            <div id="loginbox">
                <fieldset>
                    <legend>會員專區</legend>
               
                <form action="CheckLogin" method="post">
			帳號:<input type="text" name="user" >	
			<br>		
			密碼:<input type="password" name="paswd" >
			<br>
                        驗證碼:<img src="Captcha" id="picture">&nbsp;
                        <input type="button" value="挖看謀" onclick="reload()">
                        <br>
                        <input type="text" name="captcha" >
			<br>	
			<input class="new_loginbutton" type="submit" value="登入">                        
		</form>
                <p><a href="addmember.jsp">免費註冊</a> |
                   <a href="forget.jsp" target="_blank">忘記密碼</a></p>
                <font color="Red">${errmes}</font>
                 </fieldset>
            </div>
        </div>
    </body>
    <script>
        function reload(){
            document.getElementById("picture").src="Captcha";           
        }        
    </script>
</html>
